package net.qhzw.vip.qiyu.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "前端的登录参数")
@AllArgsConstructor
@NoArgsConstructor
public class LoginForm {

    @ApiModelProperty(value = "登录类型")
    private String loginType;

    @ApiModelProperty(value = "用户名称")
    @NotBlank
    private String username;

    @ApiModelProperty(value = "用户密码")
    @NotBlank
    private String password;



}
